package org.j4me.info;

import javax.microedition.midlet.MIDlet;

import org.j4me.ui.DeviceScreen;

public class ExitScreen extends MessageScreen {

	private MIDlet _app;

	public ExitScreen(MIDlet app, String message) {
		super(null, message);
		_app = app;
		setMenuText(null,"Exit");
	}
	
	protected void acceptNotify() {
		_app.notifyDestroyed();
		
	}
}
